#include <iostream>
#include <stdlib.h>
using namespace std;
int main(int agrc,char* argv[],char* env[])
{
    printf("其他进程环境变量：%s\n",getenv("hello"));
    extern char** environ;
    int i1 = 0;
    while(environ[i1])
    {
        cout<<environ[i1]<<endl;
        i1++;
    }
    int i2 = 0;
    while(env[i2])
    {
        cout<<env[i2]<<endl;
        i2++;
    }
    int i = 0;
    while(argv[i])
    {
        cout<<argv[i]<<endl;
        ++i;
    }
    return 0;
}